<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
    <!-- Required meta tags -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no" />
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="../bootstrap-4.5.0-dist/css/bootstrap.min.css">
    <title>为要素配置颜色</title>
</head>

<body>

    <div>飞哥最帅</div>
    <div class="bg-primary text-white">飞哥最帅 bg-primary text-white</div>
    <div class="bg-secondary text-white">飞哥最帅 bg-secondary text-white</div>
    <div class="bg-success text-white">飞哥最帅 bg-success text-white</div>
    <div class="bg-warning text-dark">飞哥最帅 bg-warning text-dark</div>
    <div class="bg-light text-dark">飞哥最帅 bg-light text-dark</div>


    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <h1 class="font-italic font-weight-bolder small">Hello,World</h1>
    <script src="../bootstrap-4.5.0-dist/others/jquery-3.5.1.min.js"></script>
    <script src="../bootstrap-4.5.0-dist/others/popper.min.js"></script>
    <script src="../bootstrap-4.5.0-dist/js/bootstrap.min.js"></script>
</body>

</html>